package com.yiyi.user.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yiyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyi.common.annotation.Excel;

/**
 * 客户管理对象 customer_info
 *
 * @author yiyi
 * @date 2024-09-24
 */
public class CustomerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出生日期（公历） */
    @Excel(name = "出生日期", readConverterExp = "公=历")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date brithDate1;

    /** 出生日期（农历） */
    @Excel(name = "出生日期", readConverterExp = "农=历")
    private String brithDate2;

    /** 结果地址 */
    @Excel(name = "结果地址")
    private String resulAddress;

    /** 订单编号*/
    private String orderNumber;

    /** 支付状态*/
    private int payStatus;

    /** 域名*/
    private String domainUrl;

    /** 描述*/
    private String description;

    public String getDomainUrl() {
        return domainUrl;
    }

    public void setDomainUrl(String domainUrl) {
        this.domainUrl = domainUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setBrithDate1(Date brithDate1)
    {
        this.brithDate1 = brithDate1;
    }

    public Date getBrithDate1()
    {
        return brithDate1;
    }
    public void setBrithDate2(String brithDate2)
    {
        this.brithDate2 = brithDate2;
    }

    public String getBrithDate2()
    {
        return brithDate2;
    }
    public void setResulAddress(String resulAddress)
    {
        this.resulAddress = resulAddress;
    }

    public String getResulAddress()
    {
        return resulAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerName", getCustomerName())
            .append("phone", getPhone())
            .append("sex", getSex())
            .append("brithDate1", getBrithDate1())
            .append("brithDate2", getBrithDate2())
            .append("createTime", getCreateTime())
            .append("resulAddress", getResulAddress())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
